package com.lipi.mall.product.vo;

import com.lipi.mall.product.entity.SkuImagesEntity;
import com.lipi.mall.product.entity.SkuInfoEntity;
import com.lipi.mall.product.entity.SpuInfoDescEntity;
import lombok.Data;

import java.util.List;

@Data
public class SkuItemVO {

    //1、sku基本数据获取 pms_sku_info

    private SkuInfoEntity info;

    // 是否有货
    private boolean hasStock = true;

    //2、sku图片获取 pms_sku_images

    private List<SkuImagesEntity> images;

    //3、sku所属spu的所有sku--销售属性
    List<SkuItemSaleAttrsVO> saleAttrs;

    //4、spu的介绍
    private SpuInfoDescEntity desc;

    //5、规格参数信息
    private List<SpuItemAttrGroupVO> groupAttrs;

    //6、秒杀信息
    private SeckillInfoVO seckillInfoVO;
}
